package com.yunti.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunti.springboot.po.Student;
import com.yunti.springboot.vo.Result;
import com.yunti.springboot.vo.req.SearchStudentReq;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface StudentService extends IService<Student> {

    Result getStudentsInfo(SearchStudentReq searchStudentReq);

    Result saveOrupdateStuInfo(Student studentInfo);


    Result getStudentsExamInfo(SearchStudentReq searchStudentReq);

    Result getStudentExamInfoById(SearchStudentReq searchStudentReq);

    void printStuExamInfoById(SearchStudentReq req, HttpServletResponse response);

    Result importStuList(MultipartFile file);

    Result getStuExamInfoById(SearchStudentReq req);

    Result getAllSubById(SearchStudentReq searchStudentReq);

    Result adminImportStuList(MultipartFile file, Integer schoolId);
}
